package ceet.ac.cn;

import java.lang.reflect.Method;

import com.mysql.cj.jdbc.Driver;

public class Test {

	public static void main(String[] args) {
		try {
			Class<?> a = Class.forName("ceet.ac.cn.SA");
			SA ta = (SA) a.newInstance();
			Method b = a.getMethod("test",String.class);
			b.invoke(ta,"aaa");

			Method b1 = a.getMethod("test1");
			b1.invoke(ta);
			
			/*Class a =  Class.forName("ceet.ac.cn.SA");
			Method b = a.getMethod("test");
			b.invoke(a);*/
			System.out.println("1111");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
